package cn.iocoder.yudao.module.promotion.controller.admin.prizedraw.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 抽奖活动新增/修改 Request VO")
@Data
public class PrizeDrawSaveReqVO {

    @Schema(description = "抽奖活动ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29726")
    private Long prizeDrawId;

    @Schema(description = "活动名称", example = "张三")
    private String prizeDrawName;

    @Schema(description = "活动时间开始")
    private LocalDateTime prizeDrawBegin;

    @Schema(description = "活动时间结束")
    private LocalDateTime prizeDrawEnd;

    @Schema(description = "活动规则")
    private String prizeDrawRule;

    @Schema(description = "抽奖背景图")
    private String prizeDrawBackground;

    @Schema(description = "抽奖转盘图")
    private String prizeDrawTurntable;

    @Schema(description = "用户每日中奖次数限制（1：不限制，2：限制）", example = "1")
    private Integer todayTotalType;

    @Schema(description = "用户每日中奖次数")
    private Integer todayTotalNums;

    @Schema(description = "实物奖品兑换期限（1：不限制，2：固定天数）", example = "2")
    private Integer kindExchangeType;

    @Schema(description = "实物奖品兑换期限")
    private Integer kindExchangeNums;

    @Schema(description = "实物奖品兑换期限")
    private List<PrizeDrawAwardsSaveReqVO> awards;
}